package top.yuyufeng.mbuy.exception;

public enum OrderExceptionEnum {
    USER_UNNORMAL("3001", "用户异常"),
    NO_STOCK("3002", "库存不足");

    private String key;

    private String value;

    OrderExceptionEnum(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

}
